createImageFrom

Copies an pixel image range into a new image

@safe
IR
createImageFrom
(
ImageImpl
IR
)
(,
out ImageImpl destination
,
IAllocator allocator = theAllocator()
)
if (
isImage!ImageImpl &&
)

Parameters

input IR

The pixel input range

destination ImageImpl

The output image that will be created, determines type to create as

allocator IAllocator

The allocator to allocate the new image by

Return Value

Type: IR

The pixel input range for composibility reasons

Meta